MouseEventParams

fun MouseEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), location: Point = Point.empty(), locationOnScreen: Point = Point.empty(), button: MouseEvent.Button = Button.MAIN, clickCount: Int = 0): MouseEventParams
fun MouseEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), location: Point = Point.empty(), locationOnScreen: Point = Point.empty(), button: MouseEvent.Button = Button.MAIN, clickCount: Int = 0): MouseEventParams

Creates a new instance of MouseEventParams with the given parameters.

Since

8.0.0

Parameters

uiEventModifierParams

The DOM event parameters with the key modifiers.

location

The location of the mouse cursor relative to the component.

locationOnScreen

The location of the mouse cursor relative to the screen.

button

The mouse button that triggered the event.

clickCount

The number of consecutive clicks that happened in a short amount of time.